package com.ja.openchat.ui.me;


import androidx.fragment.app.Fragment;

import com.ja.openchat.ui.base.BasePagerFragment;

import java.util.ArrayList;
import java.util.List;

/**
 * Description：ViewPager+Fragment的实现
 */

public class RedPacketRecordViewPagerGroupFragment extends BasePagerFragment {
    @Override
    protected List<Fragment> pagerFragment() {
        List<Fragment> list = new ArrayList<>();
        list.add(RedPacketRecordFragment.newInstance(1));
        list.add(RedPacketRecordFragment.newInstance(2));
        return list;
    }

    @Override
    protected List<String> pagerTitleString() {
        List<String> list = new ArrayList<>();
        list.add("收到的红包");
        list.add("发出的红包");
        return list;
    }
}
